package cn.edu.cimv.dao.mapper;

import cn.edu.cimv.dao.entity.Notices;
import cn.edu.cimv.dao.entity.Recruit;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by 门铎 on 2016/6/27.
 */
@Repository
public interface RecruitMapper {
    //insert 人才招聘
    void insertRecruit(@Param("recruit")Recruit recruit);
    //update 人才招聘
    void updateRecruit(@Param("recruit")Recruit recruit);
    //delete 人才招聘
    void deleteRecruit(@Param("id") int id);
    //查询人才招聘列表
    List<Recruit> queryRecruit();
    //根据ID查单条人才招聘
    Recruit queryRecruitById(@Param("id") int id);
    //首页显示最新的人才招聘信息
    List<Recruit> queryRecruitLast(@Param("recruitCount")int recuitCount);
}
